﻿
using PEProtocol;

public class CreateMode : BaseMode
{
    public CreateMode() : base(CPlayMode.Create)
    {
    }


    public override void Enter()
    {
        base.Enter();
        mRoot.UIService.OpenWindow(UIWindow.Create,true);
    }

    public override void Update()
    {
        
    }

    public override void Exit()
    {
        if (mNetSvc.IsConnectToLogin())
        {
            mNetSvc.ActiveDisconnectToLogin();
        }
    }
}